//
//  WXBaiMeiLableCollectionViewCell.m
//  Big Show
//
//  Created by dlios on 15-5-18.
//  Copyright (c) 2015年 Big_Q. All rights reserved.
//

#import "WXBaiMeiLableCollectionViewCell.h"

@interface WXBaiMeiLableCollectionViewCell ()
@property (nonatomic, retain) UILabel *label;
@end

@implementation WXBaiMeiLableCollectionViewCell
- (void)dealloc
{
    [_label release];
    [super dealloc];
}


-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.label = [[UILabel alloc] init];
        _label.backgroundColor = [UIColor clearColor];
      
        [self.contentView addSubview:_label];
    }
    return self;
}

-(void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    _label.frame = CGRectMake(0, 0, self.contentView.bounds.size.width, self.contentView.bounds.size.height );
}

-(void)setFindModel:(XHFindModel *)findModel
{
    if (_findModel != findModel) {
        [_findModel release];
        _findModel = [findModel retain];
    }
    // 给控件赋值
    
}

@end
